Find The Closest Palindrome | Leetcode 564 | Python Simple Solution